package Message.Public
{
    import Framework.Serialize.*;

    public class SPlayerScore extends Object
    {
        public var entityId:SEntityId;
        public var name:String;
        public var camp:int;
        public var sex:int;
        public var killPlayer:int;
        public var assist:int;
        public var continuityKill:int;
        public var honour:int;

        public function SPlayerScore()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            this.entityId.__write(param1);
            param1.writeString(this.name);
            param1.writeByte(this.camp);
            param1.writeByte(this.sex);
            param1.writeInt(this.killPlayer);
            param1.writeInt(this.assist);
            param1.writeInt(this.continuityKill);
            param1.writeInt(this.honour);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(param1);
            this.name = param1.readString();
            this.camp = param1.readByte();
            this.sex = param1.readByte();
            this.killPlayer = param1.readInt();
            this.assist = param1.readInt();
            this.continuityKill = param1.readInt();
            this.honour = param1.readInt();
            
        }

    }
}
